package com.order.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@ApiModel(description = "角色保存请求")
@Data
@Builder
@NoArgsConstructor
public class RoleSaveRequest {
    @ApiModelProperty(value="角色ID,传为修改,不传为新增", example = "1")
    private Long id;

    @ApiModelProperty(value="角色名称", required = true, example = "角色1")
    private String roleName;

    @ApiModelProperty(value="角色分组,1:系统管理员,2:运营人员,3:商家", required = true, example = "1")
    private Integer roleGroup;

    @ApiModelProperty(value="状态,1:启用,0:禁用", required = true, example = "1")
    private Integer status;

    @ApiModelProperty(value="菜单ID集合")
    private List<Long> menuIds;
}
